﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using EntityLayer;
namespace DataLayer.DAO
{
    public class clsT_CargosDAO
    {
        private BDCONTRALORIAEntities ContextoDeObjs = new BDCONTRALORIAEntities();

        public List<T_Cargos> listarCargos()
        {
            List<T_Cargos> listarCargos = new List<T_Cargos>();
            var q = from c in ContextoDeObjs.T_Cargos
                    select c;
            listarCargos = q.ToList();
            return listarCargos;
        }
    }
}
